/*
 * Copyright 2007 Jeffrey Palm
 */

import java.awt.*;
import javax.swing.*;

class ProgressFrame extends JFrame {
  final ProgressImpl p;
  final JLabel lab;
  final JProgressBar pb;
  ProgressFrame() {
    this.p = new ProgressImpl();
    this.lab = p.lab;
    this.pb = p.pb;
    pb.setMaximum(2);
    getContentPane().setLayout(new BoxLayout(getContentPane(),BoxLayout.Y_AXIS));
    getContentPane().add(lab);
    getContentPane().add(pb);
    getContentPane().add(p.cancel);
    getContentPane().setPreferredSize(new Dimension(500,100));
  }
}